package org.grayrabbit.cloud.core.telnet;

import java.io.IOException;

public interface TelnetSessionCallback {
	public static final int OFFSET_UPDATE_NO_LOCK = 0;
	public static final int OFFSET_UPDATE_LOCK_PREVIOUS = 1;
	public static final int OFFSET_UPDATE_LOCK_ALL = 2;

	public abstract void setSuppressOutput(boolean paramBoolean);

	public abstract void writeln(String paramString) throws IOException;

	public abstract void write(String paramString, int paramInt)
			throws IOException;

	public abstract void writeNewLine() throws IOException;
}
